<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/product/index" data-params='{"custom[deploy_type]":"11","custom[attr_id]":"32"}' data-field="title" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.product_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pinpai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pinpai" data-rule="required" class="form-control" name="row[pinpai]" type="text" value="{$row.pinpai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xinghao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xinghao" data-rule="required" class="form-control" name="row[xinghao]" type="text" value="{$row.xinghao|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Caizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-caizhi" data-rule="required" class="form-control" name="row[caizhi]" type="text" value="{$row.caizhi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chicun')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chicun" data-rule="required" class="form-control" name="row[chicun]" type="text" value="{$row.chicun|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dianchi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dianchi" data-rule="required" class="form-control" name="row[dianchi]" type="text" value="{$row.dianchi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dpi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dpi" data-rule="required" class="form-control" name="row[dpi]" type="text" value="{$row.dpi|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Gongdian')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-gongdian" data-rule="required" class="form-control" name="row[gongdian]" type="text" value="{$row.gongdian|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Beiguang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-beiguang" data-rule="required" class="form-control" name="row[beiguang]" type="text" value="{$row.beiguang|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Biancheng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-biancheng" data-rule="required" class="form-control" name="row[biancheng]" type="text" value="{$row.biancheng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hbsl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hbsl" data-rule="required" class="form-control" name="row[hbsl]" type="text" value="{$row.hbsl|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ips')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ips" data-rule="required" class="form-control" name="row[ips]" type="text" value="{$row.ips|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ljfs')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ljfs" data-rule="required" class="form-control" name="row[ljfs]" type="text" value="{$row.ljfs|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ljs')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ljs" data-rule="required" class="form-control" name="row[ljs]" type="text" value="{$row.ljs|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Peizhong')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-peizhong" data-rule="required" class="form-control" name="row[peizhong]" type="text" value="{$row.peizhong|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sblx')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sblx" data-rule="required" class="form-control" name="row[sblx]" type="text" value="{$row.sblx|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sudu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sudu" data-rule="required" class="form-control" name="row[sudu]" type="text" value="{$row.sudu|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiancai')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiancai" data-rule="required" class="form-control" name="row[xiancai]" type="text" value="{$row.xiancai|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xitong')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xitong" data-rule="required" class="form-control" name="row[xitong]" type="text" value="{$row.xitong|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yanse')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yanse" data-rule="required" class="form-control" name="row[yanse]" type="text" value="{$row.yanse|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhongliang')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhongliang" data-rule="required" class="form-control" name="row[zhongliang]" type="text" value="{$row.zhongliang|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-img" data-rule="required" class="form-control" size="50" name="row[img]" type="text" value="{$row.img|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-img" class="btn btn-danger faupload" data-input-id="c-img" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-img"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-img" class="btn btn-primary fachoose" data-input-id="c-img" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-img"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-img"></ul>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
